package com.example.DataSource.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.DataSource.entity.ChatMessage;

public interface CMService extends IService<ChatMessage> {
    IPage<ChatMessage> getCMPage(Page<ChatMessage> page);

    IPage<ChatMessage> getCMPageSearch(Page<ChatMessage> page, String searchInfo);
}
